<?php

namespace adminmatrix\server\command\make;

use think\console\command\Make;

class MakeLists extends Make
{
    protected $type = "Lists";
    protected function configure()
    {
        parent::configure();
        $this->setName('make:lists')
            ->setDescription('创建实例化列表类');
    }

    protected function getStub()
    {
        $stubPath = __DIR__. DIRECTORY_SEPARATOR.'stubs'. DIRECTORY_SEPARATOR;
        return $stubPath . 'lists.stub';
    }

    protected function getNamespace(string $app): string
    {
        return parent::getNamespace($app). '\\lists';
    }
}